import { Controller, Get, Query, Inject } from "@/common/core";

import { UserService } from "./user.service";

@Controller("/user")
export class UserController {
  @Inject() userService: UserService;
  
  @Get("/getUser")
  getUser(@Query() query: any) {
    // console.log("userService", this.userService.test());
    return { code: 200, data: query, message: "获取用户信息" };
  }
}
